<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>


movieList=[
			<c:forEach var="i" items="${list}" varStatus="cnt" >
			
				{
				   
					 MNO: '${i.mno}',
					 MNAME: '${i.mname}',
					 GENRE: '${i.genre}',
					 DIRECTOR: '${i.director}',
					 ACTOR: '${i.actor}',
					 RATE: '${i.rate}',
					 RUNTIME: '${i.runtime}',
					 RDATE: '${i.rdate}',
					 SYN: '${i.syn}',
					 GRADE: '${i.grade}',
					 TNO: '${i.tno }',
					 TNAME: '${i.tname }',
					 TADDRESS: '${i.taddress }',
					 TRNUM: '${i.trnum }',
					 SHOWING: '${i.showing }'
			
			<c:choose>
			
			<c:when test="${cnt.count==list.size()}">
				}
			</c:when>
			
			<c:otherwise>
				},
			</c:otherwise>
			
			</c:choose>
					 
				
			</c:forEach>
			
			

]

